package com.srb.sms.feign.fallback;

import com.srb.sms.feign.ICoreUserInfoFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class CoreUserInfoFeignClientFallback implements ICoreUserInfoFeignClient {

    @Override
    public boolean checkMobile(String mobile) {
        log.error("远程调用失败,服务熔断");
        //手机号不重复
        return false;
    }
}
